package bean;

public class Dispatcher {
    private  int dispatcherid ;//配送员用户唯一标识
    private  int  userid;//外键关联到用户登录表(userlogin)
    private String dispatchername;//用户姓名
    private String dispatchersex;//用户性别
    private int   dispatcherage;//用户年龄
    private String dispatcherphone;//用户手机号码
    private String ispatcheraddress;//用户默认地址
    private float  dserwallet;//配送员钱包

    public Dispatcher(int userid, String dispatchername) {
        this.userid = userid;
        this.dispatchername = dispatchername;
    }

    @Override
    public String toString() {
        return "Dispatcher{" +
                "dispatcherid=" + dispatcherid +
                ", userid=" + userid +
                ", dispatchername='" + dispatchername + '\'' +
                ", dispatchersex='" + dispatchersex + '\'' +
                ", dispatcherage=" + dispatcherage +
                ", dispatcherphone='" + dispatcherphone + '\'' +
                ", ispatcheraddress='" + ispatcheraddress + '\'' +
                ", dserwallet=" + dserwallet +
                '}';
    }

    public int getDispatcherid() {
        return dispatcherid;
    }

    public void setDispatcherid(int dispatcherid) {
        this.dispatcherid = dispatcherid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getDispatchername() {
        return dispatchername;
    }

    public void setDispatchername(String dispatchername) {
        this.dispatchername = dispatchername;
    }

    public String getDispatchersex() {
        return dispatchersex;
    }

    public void setDispatchersex(String dispatchersex) {
        this.dispatchersex = dispatchersex;
    }

    public int getDispatcherage() {
        return dispatcherage;
    }

    public void setDispatcherage(int dispatcherage) {
        this.dispatcherage = dispatcherage;
    }

    public String getDispatcherphone() {
        return dispatcherphone;
    }

    public void setDispatcherphone(String dispatcherphone) {
        this.dispatcherphone = dispatcherphone;
    }

    public String getIspatcheraddress() {
        return ispatcheraddress;
    }

    public void setIspatcheraddress(String ispatcheraddress) {
        this.ispatcheraddress = ispatcheraddress;
    }

    public float getDserwallet() {
        return dserwallet;
    }

    public void setDserwallet(float dserwallet) {
        this.dserwallet = dserwallet;
    }
}
